package com.kk.mybatis.service;

import com.kk.mybatis.entity.request.RelRequest;
import org.springframework.transaction.annotation.Transactional;

/**
 * @description:
 * @author: Kk
 * @create: 2020-11-27 19:38
 **/
public interface MaterialLabelRelService {
    /**
     * 插入素材并对应标签插入关系
     * @param relRequest
     * @return
     */
    @Transactional
    boolean saveMaterialRel(RelRequest relRequest);

    /**
     * 插入关系
     * @param mId
     * @param lId
     */
    @Transactional
    int saveRel(int mId, int lId);
}
